<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script type="text/javascript">
	var arr = [11,22,33,44,55,66];
	var someArr = [];
	var num = 0;
	// var arr2 = arr.some(function(val,index){
	// 	num++;
	// 	return val < 30
	// },obj)
	// console.log(arr,arr2,num)
	
	var arr2 = arr.some(function(val,index,arr){
		console.log(val)
		if(val < 30){
			someArr.push(val)
			// return val
		}
	})
	console.log(arr,arr2,someArr)
</script>